package cn.com.aiton.common.constant;

public class Posinda {
    ///
    public static final String SYSSTATE_VALUE_ONLINE = "Online";
    public static final String SYSSTATE_VALUE_OFFLINE = "Offline";
    public static final String SYSSTATE_VALUE_ERROR = "Error";

    public static final String MINA_ERROR_CODES = "mina-server-error-code";
    //mina 的ServerHandler里面，为了解决粘包和断包的问题。只有是<?xml 开发 和</Message> 结尾的进行读取。
    public static final String MINA_XML_MESSAGE = "</Message>";
    public static final String MINA_XML_VERSION = "<?xml";
    public static final String XPATH_TOKEN = "//Message/Token";
    public static final String XPATH_BODY_OPERATION = "//Message/Body/Operation";
    public static final String XPATH_BODY_OPERATION_NAME = "//Message/Body/Operation[@name]";
    //查询信号平台的路口信号，如果为0表示查询全部路口信号，返回列表；如果为其它正常数据，则返回正常某个数据节点
    public static final String XPATH_BODY_OPERATION_CROSSPARAM_CROSSID = "//Message/Body/Operation/CrossParam/CrossID";
    public static final String XPATH_BODY_OPERATION_CROSSPARAM = "//Message/Body/Operation/CrossParam";
    //主动上报请求的路口ID
    public static final String XPATH_BODY_OPERATION_CROSSSTATUS_CROSSID = "//Message/Body/Operation/CrossStatus/CrossID";
    public static final String XPATH_BODY_OPERATION_CROSSSTATUS = "//Message/Body/Operation/CrossStatus";


    public static final String XPATH_MESSAGE_FROM = "//Message/From";
    public static final String XPATH_MESSAGE_FROM_ADDRESS_SYS = "//Message/From/Address/Sys";
    public static final String XPATH_MESSAGE_TO = "//Message/To";
    public static final String XPATH_MESSAGE_TO_ADDRESS_SYS = "//Message/To/Address/Sys";
    public static final String XPATH_MESSAGE_SEQ = "//Message/Seq";


    public static final String MESSAGE_BODY_OPERATION_ERROR_OBJECT_CROSSSTATUS = "CrossStatus";
    public static final String MESSAGE_BODY_OPERATION_ERROR_OBJECT_CROSS = "CrossParam";
    public static final String MESSAGE_BODY_OPERATION_ERROR_OBJECT_STAGEPARAM = "StageParam";
    public static final String MESSAGE_BODY_OPERATION_ERROR_OBJECT_PHASEPARAM = "PhaseParam";
    public static final String MESSAGE_BODY_OPERATION_ERROR_OBJECT_OVERLAP = "Overlap";
    public static final String MESSAGE_BODY_OPERATION_ERROR_OBJECT_LAMPGROUP = "LampGroup";
    public static final String MESSAGE_BODY_OPERATION_ERROR_OBJECT_PLANPARAM = "PlanParam";
    public static final String MESSAGE_BODY_OPERATION_ERROR_OBJECT_PHASEMAP = "PhaseMap";
    public static final String MESSAGE_BODY_OPERATION_ERROR_OBJECT_SYSTEMCONTROL = "SystemControl";
    public static final String MESSAGE_BODY_OPERATION_ERROR_OBJECT_SWITCHCONTROL = "SwitchControl";

    ///这里定义XML消息中类型
    public static final String XPATH_MESSAGE_TYPE= "//Message/Type";
    public static final String MESSAGE_TYPE_RESPONSE_= "RESPONSE";
    public static final String MESSAGE_TYPE_ERROR_= "ERROR";
    public static final String MESSAGE_TYPE_REQUEST_= "REQUEST";
    public static final String MESSAGE_TYPE_PUSH_= "PUSH";
    public static final String MESSAGE_BODY_OPERATOR_CROSS_DEVICE_TYPE_AITON = "AI2017";
    public static final String MESSAGE_BODY_OPERATOR_CROSS_DEVICE_PROTOCOL = "GBT20999-2017";
    public static final String MESSAGE_BODY_OPERATOR_CROSS_DEVICE_LINKTYPE = "0";
    //系统预定义错误类型
    public static final String MESSAGE_TYPE_ERROR_SDE_NULLDATA = "SDE_NullData";
    public static final String MESSAGE_TYPE_ERROR_SDE_NULLDATA_DESC = "获取不到数据";
    public static final String MESSAGE_TYPE_ERROR_SDE_VERSION= "SDE_Version";
    public static final String MESSAGE_TYPE_ERROR_SDE_VERSION_DESC= "版本号错误";
    public static final String MESSAGE_TYPE_ERROR_SDE_TOKEN= "SDE_Token";
    public static final String MESSAGE_TYPE_ERROR_SDE_TOKEN_DESC= "无效令牌，会话错误";
    public static final String MESSAGE_TYPE_ERROR_SDE_ADDRESS= "SDE_Address";
    public static final String MESSAGE_TYPE_ERROR_SDE_ADDRESS_DESC= "地址错误";
    public static final String MESSAGE_TYPE_ERROR_SDE_MSGTYPE= "SDE_MsgType";
    public static final String MESSAGE_TYPE_ERROR_SDE_MSGTYPE_DESC= "数据包类型错误";
    public static final String MESSAGE_TYPE_ERROR_SDE_OPERNAME= "SDE_OperName";
    public static final String MESSAGE_TYPE_ERROR_SDE_OPERNAME_DESC= "操作命令错误";
    public static final String MESSAGE_TYPE_ERROR_SDE_USERNAME= "SDE_UserName";
    public static final String MESSAGE_TYPE_ERROR_SDE_USERNAME_DESC= "用户名错误";
    public static final String MESSAGE_TYPE_ERROR_SDE_PWD= "SDE_Pwd";
    public static final String MESSAGE_TYPE_ERROR_SDE_PWD_DESC= "口令错误";
    public static final String MESSAGE_TYPE_ERROR_SDE_NOTALLOW= "SDE_NotAllow";
    public static final String MESSAGE_TYPE_ERROR_SDE_NOTALLOW_DESC= "操作不允许";
    public static final String MESSAGE_TYPE_ERROR_SDE_FAILURE= "SDE_Failure";
    public static final String MESSAGE_TYPE_ERROR_SDE_FAILURE_DESC= "操作失败";
    public static final String MESSAGE_TYPE_ERROR_SDE_UNKNOWN= "SDE_Unknown";
    public static final String MESSAGE_TYPE_ERROR_SDE_UNKNOWN_DESC= "其他未知错误";

    public static final String MESSAGE_BODY_OPERATION_NAME_LOGIN = "Login";
    public static final String MESSAGE_BODY_OPERATION_NAME_LOGOUT = "Logout";
    public static final String MESSAGE_BODY_OPERATION_NAME_SUBSCRIBE = "Subscribe";
    public static final String MESSAGE_BODY_OPERATION_NAME_UNSUBSCRIBE = "Unsubscribe";
    public static final String MESSAGE_BODY_OPERATION_NAME_GET = "Get";
    public static final String MESSAGE_BODY_OPERATION_NAME_SET = "Set";
    public static final String MESSAGE_BODY_OPERATION_NAME_NOTIFY = "Notify";
    public static final String MESSAGE_BODY_OPERATION_NAME_OTHER = "Other";
    ///这里定义Object类型的列表
    public static final String MESSAGE_BODY_OPERATION_SDO_ERROR = "SDO_Error";
    public static final String MESSAGE_BODY_OPERATION_SDO_USER = "SDO_User";
    public static final String MESSAGE_BODY_OPERATION_SDO_HEARTBEAT = "SDO_HeartBeat";
    public static final String MESSAGE_BODY_OPERATION_SDO_TIMEOUT = "SDO_TimeOut";
    public static final String MESSAGE_BODY_OPERATION_SDO_TIMESERVER = "SDO_TimeServer";

    ////与公安交通集成指挥平台 相关的其它子系统简称
    public static final String MESSAGE_ADDRESS_SYS_TICP = "TICP";
    public static final String MESSAGE_ADDRESS_SYS_UTCS = "UTCS";
    public static final String MESSAGE_ADDRESS_SYS_TVMS = "TVMS";
    public static final String MESSAGE_ADDRESS_SYS_TICS = "TICS";
    public static final String MESSAGE_ADDRESS_SYS_TVMR = "TVMR";
    public static final String MESSAGE_ADDRESS_SYS_TIPS = "TIPS";
    public static final String MESSAGE_ADDRESS_SYS_PGPS = "PGPS";
    public static final String MESSAGE_ADDRESS_SYS_TDMS = "TDMS";
    public static final String MESSAGE_ADDRESS_SYS_TEDS = "TEDS";
    public static final String MESSAGE_ADDRESS_SYS_VMKS = "VMKS";

    public static final String XPATH_BODY_OPERATION_NAME_LOGIN_SDO_USER_USERNAME = "//Message/Body/Operation[@name='Login']/SDO_User/UserName";
    public static final String XPATH_BODY_OPERATION_NAME_LOGIN_SDO_USER_PWD = "//Message/Body/Operation[@name='Login']/SDO_User/Pwd";
    public static final String XPATH_BODY_OPERATION_NAME_LOGOUT_USERNAME = "//Message/Body/Operation[@name='Logout']/SDO_User/UserName";
    public static final String XPATH_BODY_OPERATION_NAME_LOGOUT_PWD = "//Message/Body/Operation[@name='Logout']/SDO_User/Pwd";
    public static final String XPATH_BODY_OPERATION_NAME_NOTIFY_SDO_HEARTBEAT = "//Message/Body/Operation[@name='notify']/SDO_HeartBeat";
    public static final String XPATH_BODY_OPERATION_NAME_SET_SDO_TIMEOUT = "//Message/Body/Operation[@name='Set']/SDO_TimeOut";
    public static final String XPATH_BODY_OPERATION_NAME_GET_SDO_TIMESERVER = "//Message/Body/Operation[@name='Get']/SDO_TimeServer";
    public static final String XPATH_BODY_OPERATION_NAME_GET_SYSINFO = "//Message/Body/Operation[@name='Get']/SysInfo";
    public static final String XPATH_BODY_OPERATION_NAME_GET_REGIONPARAM = "//Message/Body/Operation[@name='Get']/RegionParam";
    public static final String XPATH_BODY_OPERATION_NAME_GET_SUBREGIONPARAM = "//Message/Body/Operation[@name='Get']/SubRegionParam";
    public static final String XPATH_BODY_OPERATION_NAME_GET_CROSSPARAM = "//Message/Body/Operation[@name='Get']/CrossParam";
    public static final String XPATH_BODY_OPERATION_NAME_GET_SIGNALCONTROLER = "//Message/Body/Operation[@name='Get']/SignalControler";
    public static final String XPATH_BODY_OPERATION_NAME_GET_LAMPGROUP = "//Message/Body/Operation[@name='Get']/LampGroup";
    public static final String XPATH_BODY_OPERATION_NAME_GET_DETPARAM = "//Message/Body/Operation[@name='Get']/DetParam";
    public static final String XPATH_BODY_OPERATION_NAME_GET_LANEPARAM = "//Message/Body/Operation[@name='Get']/LaneParam";
    public static final String XPATH_BODY_OPERATION_NAME_GET_PHASEMAP = "//Message/Body/Operation[@name='Get']/PhaseMap";
    public static final String XPATH_BODY_OPERATION_NAME_GET_PHASEPARAM = "//Message/Body/Operation[@name='Get']/PhaseParam";
    public static final String XPATH_BODY_OPERATION_NAME_GET_OVERLAP = "//Message/Body/Operation[@name='Get']/Overlap";
    public static final String XPATH_BODY_OPERATION_NAME_GET_PLANPARAM = "//Message/Body/Operation[@name='Get']/PlanParam";
    public static final String XPATH_BODY_OPERATION_NAME_GET_SYSTEMCONTROL = "//Message/Body/Operation[@name='Set']/SystemControl";
    public static final String XPATH_BODY_OPERATION_NAME_GET_SWITCHCONTROL = "//Message/Body/Operation[@name='Set']/SwitchControl";
    public static final String XPATH_BODY_OPERATION_NAME_GET_PLANPARAM_CROSSID = "//Message/Body/Operation[@name='Get']/PlanParam/CrossID";
    public static final String XPATH_BODY_OPERATION_NAME_GET_STAGEPARAM = "//Message/Body/Operation[@name='Get']/StageParam";
    public static final String XPATH_BODY_OPERATION_NAME_GET_SYSSTATE = "//Message/Body/Operation[@name='Get']/SysState";
    public static final String XPATH_BODY_OPERATION_NAME_GET_REGIONSTATE = "//Message/Body/Operation[@name='Get']/RegionState";
    public static final String XPATH_BODY_OPERATION_NAME_GET_REGIONSTATE_CROSSID = "//Message/Body/Operation[@name='Get']/RegionState/CrossID";
    public static final String XPATH_BODY_OPERATION_NAME_GET_CROSSSTATE = "//Message/Body/Operation[@name='Get']/CrossState";
    public static final String XPATH_BODY_OPERATION_NAME_GET_CROSSSTATE_CROSSID = "//Message/Body/Operation[@name='Get']/CrossState/CrossID";
    public static final String XPATH_BODY_OPERATION_NAME_GET_SIGNALCONTROLERERROR = "//Message/Body/Operation[@name='Get']/SignalControlerError";
    public static final String XPATH_BODY_OPERATION_NAME_GET_CROSSCONTROLMODE = "//Message/Body/Operation[@name='Get']/CrossControlMode";
    public static final String XPATH_BODY_OPERATION_NAME_GET_CROSSCYCLE = "//Message/Body/Operation[@name='Get']/CrossCycle";
    public static final String XPATH_BODY_OPERATION_NAME_GET_CROSSSTAGE = "//Message/Body/Operation[@name='Get']/CrossStage";
    public static final String XPATH_BODY_OPERATION_NAME_GET_CROSSPHASELAMPSTATUS = "//Message/Body/Operation[@name='Get']/CrossPhaseLampStatus";
    public static final String XPATH_BODY_OPERATION_NAME_GET_CROSSPLAN = "//Message/Body/Operation[@name='Get']/CrossPlan";
    public static final String XPATH_BODY_OPERATION_NAME_GET_CROSSTRAFFICDATA = "//Message/Body/Operation[@name='Get']/CrossTrafficData";
    public static final String XPATH_BODY_OPERATION_NAME_GET_TSCCMD = "//Message/Body/Operation[@name='Get']/TSCCmd";
    public static final String XPATH_BODY_OPERATION_NAME_GET_LOCKFLOWDIRECTION = "//Message/Body/Operation[@name='Get']/LockFlowDirection";
    public static final String XPATH_BODY_OPERATION_NAME_GET_UNLOCKFLOWDIRECTION = "//Message/Body/Operation[@name='Get']/UnLockFlowDirection";
    public static final String XPATH_BODY_OPERATION_NAME_GET_CROSSREPORTCTRL = "//Message/Body/Operation[@name='Get']/CrossReportCtrl";
    public static final String XPATH_BODY_OPERATION_NAME_GET_SDO_TIMESERVER_HOST = "//Message/Body/Operation[@name='Get']/SDO_TimeServer/Host";
    public static final String XPATH_BODY_OPERATION_NAME_GET_SDO_TIMESERVER_PROTOCOL = "//Message/Body/Operation[@name='Get']/SDO_TimeServer/Protocol";
    public static final String XPATH_BODY_OPERATION_NAME_GET_SDO_TIMESERVER_PORT = "//Message/Body/Operation[@name='Get']/SDO_TimeServer/Port";




    public static final String REDIS_AITONEXTEND_REPORTSTATE_RABBITMQ_DOMAIN_OBJECT_KEY = "AitonExtendReportStateRabbitMqDomain";

}
